package com.ywu.standard.gateway.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName AppConfig
 * @Description TODO
 * @Author GroundDemo
 * @Date 2024/3/16 22:14
 * @Version 1.0
 **/
@Data
@ToString
@Configuration
@ConfigurationProperties(prefix = "ywu.gateway")
public class AppConfig {

    private Long accessExpire;

    private Long refreshExpire;

    private String excludePath;

    private Boolean checkTokenAndPermission;

    private String apiRedisCacheInternal = "60000";

    private Integer apiRedisCacheMaxSize = 20;
}
